package cn.tedu.cake.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author：GuoYaFeng
 * @Package：cn.tedu.cake.pojo.vo
 * @Project：cake1
 * @name：ProductVO
 * @Date：2023/3/16 19:31
 * @Filename：ProductVO
 */
@Data
public class ProductVO {
    private Integer id;
    private String title;
    private String abs;
    private Double price;
    private Integer saleCount;//销量
    private String url;
    private Integer viewCount;//点击量***
    private Integer categoryId;//选择类别ID
    @JsonFormat(pattern = "yyyy年MM月dd号 HH点mm分ss秒",timezone = "GMT+8")
    private Date created;//发布时间


}
